package com.xrs.xrseducation.outline.service.impl;

import com.xrs.xrseducation.outline.entity.Outline;
import com.xrs.xrseducation.outline.mapper.OutlineMapper;
import com.xrs.xrseducation.outline.service.IOutlineService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-09-18
 */
@Service
public class OutlineServiceImpl extends ServiceImpl<OutlineMapper, Outline> implements IOutlineService {

    @Autowired
    OutlineMapper outlineMapper;

    /**
     * 添加课程大纲
     * @param outline
     */
    @Override
    public void addOutline(Outline outline){
        outlineMapper.insert(outline);
    }
}
